package com.xzh.util;

public class PageUtil {

    //每页显示条数
    public static final int PAGE_SIZE = 4;

    public static int getTotalPage(int count, int pageSize) {
        return count % pageSize == 0 ? count / pageSize : count / pageSize + 1;
    }

}
